package cn.example.beans;

public class ClassC {

    private ClassD classD;

    public ClassC() {
        System.out.println("ClassC 无参构造办法...");
    }

    public void setClassD(ClassD classD) {
        this.classD = classD;
    }

    public void method1() {
        System.out.println("ClassC method1...");
    }

}
